package com.tianji.learning.domain.Vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "笔记表信息")
public class LearningNoteVO {
    @ApiModelProperty(value = "主键, 笔记id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "所属课程id")
    private Long courseId;

    @ApiModelProperty(value = "所属课程章id")
    private Long chapterId;

    @ApiModelProperty(value = "所属课程节id")
    private Long sectionId;

    @ApiModelProperty(value = "视频播放进度")
    private Long videoTime;

    @ApiModelProperty(value = "笔记内容")
    private String content;

    @ApiModelProperty(value = "点赞数量")
    private Long likeCount;

    @ApiModelProperty(value = "是否私密,0非私密,1私密")
    private Boolean isPrivate;

    @ApiModelProperty(value = "是否有采集,0非采集,1采集")
    private Boolean isCollect;

    @ApiModelProperty(value = "引用人id")
    private Long targetId;

    @ApiModelProperty(value = "引用次数")
    private Integer collectCount;

    @ApiModelProperty(value = "管理端是否隐藏 0 非隐藏, 1隐藏")
    private Boolean adminPrivate;

    @ApiModelProperty(value = "提问时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "作者Id")
    private Long authorId;
    @ApiModelProperty(value = "作者名称")
    private String authorName;
    @ApiModelProperty(value = "作者头像")
    private String authorIcon;
}
